﻿using dotnet2cache.Abstractions;
using System;

namespace dotnet2cache.Core
{
    public interface ILevel2CacheProvider
    {
        CacheValue<T> Get<T>(string key);

        void Set<T>(string key, CacheValue<T> value, CacheOptionEntry cacheOptionEntry);


        bool Remove(string key);

        bool IsExist(string key);
    }
}
